{namespace n=GeorgRinger\News\ViewHelpers}
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="Default" />

This Template is responsible for displaying a single view for a domain object

If you modify this template, do not forget to change the overwrite settings
in /Configuration/ExtensionBuilder/settings.yaml:
  Resources:
	Private:
	  Templates:
		Show.html: keep

	Otherwise your changes will be overwritten the next time you save the extension in the extension builder

<f:section name="content">

	<f:flashMessages />
	<link rel="stylesheet" type="text/css" href="{f:uri.resource(path:'Css/style.css')}" />
		<f:if condition="{settings.listType}==1">
	      <f:then>
	      	<!-- PDF文件展示 -->
			<div class="portlet light ">
			    <n:widget.paginate objects="{filemanages}" as="filemanagesPagination" configuration="{itemsPerPage:'15',insertAbove:'0',insertBelow:'1',templatePath:'', prevNextHeaderTags:'1',maximumNumberOfLinks:'3'}">
				    <div class="filebox">
				    	<f:for each="{filemanagesPagination}" as="filemanage">
				    		<div class="col-md-3 col-xs-6">
				    			<a href="/uploads/tx_filemanage/{filemanage.filepath}" target="_blank">
				    				<div class="bookbox">
				    					<f:image src="/uploads/tx_filemanage/pics/{filemanage.fileimg}" alt="" width="210c" height="297c" />
				    				</div>
				    			</a>
				    			<div class="text-center mar-bot-10"><a href="/uploads/tx_filemanage/{filemanage.filepath}" target="_blank">{filemanage.title}</a></div>
				    		</div>
				    	</f:for>
				    </div>
			    </n:widget.paginate>
			</div>
		</f:then>
		<f:else>
			<!-- 其他文件展示 -->
			<div class="portlet light ">
			    <n:widget.paginate objects="{filemanages}" as="filemanagesPagination" configuration="{itemsPerPage:'15',insertAbove:'0',insertBelow:'1',templatePath:'', prevNextHeaderTags:'1',maximumNumberOfLinks:'3'}">
				    <div class="filebox">
				    	<f:for each="{filemanagesPagination}" as="filemanage">
				    		<div class="filelist">
				    			<div class="pull-left"><f:link.action action="download" arguments="{filemanage : filemanage}" >{filemanage.title}</f:link.action></div><f:link.action action="download" arguments="{filemanage : filemanage}" class="btn btn-xs btn-info pull-right">下载</f:link.action>
				    			<span class="pull-right">{filemanage.senddate}</span>
				    			<div style="clear: both;"></div>

				    		</div>
				    	</f:for>
				    </div>
			    </n:widget.paginate>
			</div>
		</f:else>
	</f:if>
</f:section>